package com.usian.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.common.dtos.ResponseResult;

import com.usian.model.media.dtos.WmNewsDto;
import com.usian.model.media.dtos.WmNewsPageReqDto;
import com.usian.model.media.pojos.WmNews;

public interface WmNewsService extends IService<WmNews> {
    public ResponseResult findAll(WmNewsPageReqDto dto);

    public ResponseResult submitNews(WmNewsDto dto, Short isSubmit);

    public ResponseResult findWmNewsById(Integer id);

    public ResponseResult delNews(Integer id);

    public ResponseResult downOrUp(WmNewsDto dto);
    public WmNews findWmUserById(Long userId);
}
